﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using IRC.NET.Users;

namespace IRC.NET.Commands
{
    public class UserCommand : OneWayCommandBase
    {
        private static readonly string COMMAND_PREFIX = "USER";

        public UserCommand(ClientUser user)
            : base(COMMAND_PREFIX)
        {
            this.SetParameter("Username", user.Username);
            this.SetParameter("Mode", "0");
            this.SetParameter("Unused", "*");
            this.SetParameter("Realname", user.RealName);
        }
    }
}
